package paper.service;

import java.io.IOException;
import java.io.InputStream;

import paper.dao.AccessoryDao;
import paper.dao.ReportDao;
import paper.domain.Accessory;
import paper.domain.Report;
import paper.domain.User;

public interface ReportService {

	public ReportDao getDao();
	
    public AccessoryDao getAccessoryDao();
		
	public void submit(Report topic);
	
	public void confirm(Report topic);
	
    public Accessory findAccessoryById(long id);
	
    public Accessory writeFile(User account, String fileName, InputStream inputStream) throws IOException;
}